package com.tarena.csmall.sso;

import cn.tedu.mall.common.annotation.EnableCsmallGlobalExceptionHandler;
import cn.tedu.mall.common.annotation.EnableJwtUtils;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan("com.tarena.csmall.sso.mapper")
@EnableJwtUtils
//开启全局异常处理
@EnableCsmallGlobalExceptionHandler
public class SSOApplication {
    public static void main(String[] args) {
        SpringApplication.run(SSOApplication.class,args);
    }
}
